home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / tex / nocz12.zip / NOCZ.DOC < prev    next >
Text File  |  1989-10-13  |  2KB  |  50 lines

  1.  
  2.             NOCZ.DOC
  3.  
  4. This little utility does only one thing, and it does that well.  It strips
  5. every ^Z (Ctrl-Z) from your document files.  After you use this little
  6. filter you file will have no Ctrl-Z's in it.
  7.  
  8. Why would anyone ever want to eliminate this little bugger?  Simply in order
  9. to read the entire file in which Ctrl-Z's are embedded.  It's easy to create
  10. a file with a Ctrl-Z in it by appending another part to it.  If that
  11. happens, then many, if not most, word processing programs will not be able
  12. to read beyond the first Ctrl-Z.
  13.  
  14. Well, then why would MS-DOS put in that little bugger in the first place?
  15. Unfortunately, the Ctrl-Z is a vestigial appendage and serves no useful
  16. purpose, except to give people who write little utilities like this
  17. something to do.
  18.  
  19. Syntax: nocz filename > newname
  20.  
  21. Enjoy...
  22.  
  23. ---------------------
  24.  
  25. Toad Hall Tweak, Oct 89
  26.  
  27. Syntax:    nocz [<] filename.typ [>output]
  28.     Input may be a proper path:\filename or redirection.
  29.     Output may be redirected as desired (default CON:).
  30.  
  31. v1.1, Oct 89
  32.  - Bumping working buffer to BIG...
  33.  - Simplistic PSP command line parsing didn't properly handle
  34.    DOS redirection/filter usage.  Fixed.
  35.    (Still doesn't work as a pipe, however.)
  36.  - Added help (if no command line parms, no redirection).
  37.  - No reason at all to release memory .. unless maybe for piping?
  38.  
  39. v1.2, Oct 89
  40.  - Replaces Ctrl Z's with an innocuous space.
  41.    Cleaner code, file length doesn't change.
  42.    If you don't want this function and wish the Ctrl Z's
  43.    truly deleted, use v1.1.
  44.  
  45. Timing runs on a 122,000-byte file (with 1 Ctrl-Z towards the start):
  46. Version        Seconds
  47. v1.0        34.72
  48. v1.1        10.72
  49. v1.2        10.43
  50.